package fun.tan90.device.sink.mqtt.plugin.model;

import fun.tan90.device.sink.core.SinkRule;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class SinkMqttRule extends SinkRule {

    /**
     * TOPIC
     */
    private String topic;

    /**
     * QOS
     */
    private int qos;

    /**
     * 是否保留消息
     */
    private boolean retain;
}